package ch3;

/**
 * @author oldliu
 * @since 1.0
 */
public class R {
    public static void main(String[] args) {
        double d = Math.random();
        System.out.println(d);
        int i= (int) (d*10);
        System.out.println(i);
    }
}
